home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / net / bind-contrib.tar.gz / bind-contrib.tar / contrib / misc / soa-easy.shar / README < prev    next >
Encoding:
Text File  |  1996-10-25  |  2.5 KB  |  58 lines

  1. This is my solution to a couple of problems we had with DNS at Deakin
  2. University, namely:
  3.  
  4.     - Remembering always to update the SOA serial number is just not
  5.       possible, especially if you want to allow half a dozen or more
  6.       people, of various experience, to edit your DNS.
  7.  
  8.     - Changing NS records for 198 zones can take a bit of time,
  9.       expecially if you are using RCS. 
  10.  
  11.     - Changing MX records for 400 zones is not any easier.
  12.  
  13. Basically, all of the above were solved by using BIND's "$INCLUDE"
  14. feature.  For the latter two, it just meant deciding to use this
  15. feature for all NS and MX records.  For the first problem, it meant
  16. also "$INCLUDE"-ing a file containing the SOA record, and updating
  17. that file automatically when any files for that zone are updated
  18. (including other "$INCLUDE"-ed files).
  19.  
  20. The whole system is run (from the point of view of your DNS
  21. administrators) using two simple tools; "make" and RCS (but see below
  22. if you hate RCS).  Your DNS administrator simply checks out the file
  23. they wish to change, makes the change, checks in the file and does a
  24. "make configure" (or "make install" if they just want to update the
  25. production DNS files, but not reload named).  If any file containing
  26. data for a zone is updated, the .SOA file for that zone (and it's
  27. serial number) is re-generated.  There is also a "make-depend" program
  28. to keep dependencies in the Makefile up-to-date.
  29.  
  30. The re-generation of SOA serial numbers uses the RCS "Id" header.
  31. This means you need to use RCS for the maintenance of _ALL_ your DNS
  32. files.  However, if you really hate RCS, you could probably modify
  33. "make-SOA" so that it uses file modification times instead.
  34.  
  35. The two programs which update the .SOA files (make-SOA) and the
  36. Makefile (make-depend) require Perl version 4, and you will need to
  37. customise make-SOA, the Makefile and, of course, your domain files.
  38.  
  39. I can't think of any more details to mention here.  There are some
  40. comments in the files, and your DNS administrators should read the
  41. TIPS file (it is actually the README file in our DNS source area),
  42. which covers a couple of important things other than SOA serial
  43. numbers that can get overlooked.
  44.  
  45. Even if you aren't interested in the software here, peruse the data.
  46. I have configured an "example" DNS zone, which might contain just
  47. enough hints to get you started in configuring your own zone(s).
  48.  
  49. I recommend the other DNS tools that come with BIND.  There is nothing
  50. better than using a computer to do your administrivia.
  51.  
  52. --
  53. Tim Cook
  54. Systems Engineer
  55. Deakin University
  56. <tim@deakin.edu.au>
  57. 2 Nov 1994
  58.